<?php

namespace app\api\validate;

use think\Validate;

/**
 * 日常审批表
 */
class ApproveValidate extends Validate
{
    protected $rule = [
        'id' => 'require',
        'type' => 'require',


    ];

    protected $message = [
        'id.require' => '信息不存在',
        'type.require' => '审批类型不存在',

    ];

    protected $scene = [
        'info' => ['id'],
    ];
}